package com.sstir.doctor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sstir.doctor.entity.UserInfoEntity;
import com.sstir.doctor.pojo.bo.RankingListBO;
import com.sstir.doctor.pojo.vo.UserScoreVO;
import com.sstir.doctor.result.RespResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hanjunjun
 * @since 2021-01-15
 */
public interface IUserInfoService extends IService<UserInfoEntity> {

    RespResult registerUsername(String username);

    /**
     * 获取分数排行榜
     *
     * @param
     * @return com.sstir.doctor.result.RespResult
     * @author  hjj
     * @date 2021/1/15
     **/
    RespResult getRankingList(RankingListBO rankingListBO);

    /**
     * 提交成绩
     *
     * @param userScoreVO
     * @return com.sstir.doctor.result.RespResult
     * @author  hjj
     * @date 2021/1/15
     **/
    RespResult submitCore(UserScoreVO userScoreVO);

}
